﻿#if SERVER
using CommandLine;
#endif

namespace ETModel
{
	public class Options
	{
        /// <summary>
        /// 当前用配置列表中的那个app启动
        /// </summary>
		[Option("appId", Required = false, Default = 1)]
		public int AppId { get; set; }

        /// <summary>
        /// app类型,主要是在查看进程信息能区分每个app.exe的类型
        /// </summary>
        [Option("appType", Required = false, Default = AppType.Manager)]
		public AppType AppType { get; set; }
        /// <summary>
        /// 集群的服务器配置列表
        /// </summary>
		[Option("config", Required = false, Default = "../Config/StartConfig/LocalAllServer.txt")]
		public string Config { get; set; }
        /// <summary>
        /// 集群标识
        /// </summary>
        [Option("clusterKey", Required = false, Default = "")]
        public string ClusterKey { get; set; }
    }
}